import service from "@/utils/request";
// 添加领养
export const myadoption = data => {
  return service({
    method: "post",
    url: "/api/v1/addAdopt",
    data,
  });
};
// 获取uid获取用户所有领养
export const getsend = params => {
  return service({
    method: "get",
    url: "/api/v1/getAllUid",
    params,
  });
};
// 删除宠物领养信息
export const delsend = params => {
  return service({
    method: "delete",
    url: "/api/v1/removeAdopt",
    params,
  });
};
